package cn.wangsy.zhidao.p20170323;

public class Student {

	private String number;//学号
	private String name;//姓名
	private String gender;//性别
	private int age;//年龄
	
	public Student(){
		
	}
	
	public Student(String number,String name,String gender,int age){
		this.number = number;
		this.name = name;
		this.gender = gender;
		this.age = age;
	}
	
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	
	@Override
	public String toString() {
		return "{\"number\":"+number+",\"name\":"+name+",\"gender\":"+gender+",\"age\":"+age+"}";
	}
	
}
